package user;

import list.*;

import java.util.Scanner;

//超级管理员
public class SuperUser extends User {
    public SuperUser(String name) {
        super(name);
        this.iusbs = new IUSB[] {
                new ExitBook(),
                new FindBook(),
                new AddBook(),
                new DeleBook(),
                new ShowBook(),

        };
    }
    Scanner scanner = new Scanner(System.in);
    //超级管理员菜单
    public int menu() {
        System.out.println("======================");
        System.out.println("你好["+name+"]欢迎进入图书管理系统!");
        System.out.println("1.查找图书");
        System.out.println("2.新增图书");
        System.out.println("3.删除图书");
        System.out.println("4.显示图书");
        System.out.println("0.退出系统");
        System.out.println("======================");
        System.out.println("请输入你的选择:");
        Scanner scanner = new Scanner(System.in);
        int choice = scanner.nextInt();
        return choice;
    }
}
